package com.github.satant.job.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import javax.persistence.*;


/**
 * 公司表
 *
 * @author dear_satant
 * @email 446269825@qq.com
 * @date 2018-06-26 21:34:06
 */
@Table(name = "st_company")
@Data
public class StCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;

    //公司创建者
    @Column(name = "creator_id")
    private Integer creatorId;

    //创建时间
    @Column(name = "create_time")
    private LocalDateTime createTime;

    //公司简介
    @Column(name = "description")
    private String description;

    //登录账户
    @Column(name = "username")
    private String username;

    //登录密码
    @Column(name = "password")
    private String password;

    //公司地址
    @Column(name = "address")
    private String address;

    //公司积分
    @Column(name = "point")
    private Integer point;


}
